package H;

/**
 * 猎人
 */
public class Hunter extends Game implements Attack,Hunt{
    public Hunter(){}
    public Hunter(String name,int level){
        super(name,level);
    }

    @Override
    public void attack() {
        System.out.println("我是一个等级为"+this.getLevel()+"名为"+this.getName()+"的医生，我能够攻击");
    }

    @Override
    public void hunt() {
        System.out.println("我是一个等级为"+this.getLevel()+"名为"+this.getName()+"的医生，我能够打猎");
    }
}
